package com.wsjc.manager.entity;

import java.util.Date;

/**
 * 
 * @Description 推送表
 * @ClassName   WjPush 
 * @Date        2018年7月22日 下午6:03:59 
 * @Author      liyang 
 *
 */
public class WjPush {
	
	/** 主键 时间戳 */
    private long id = System.currentTimeMillis();

    /** 医院名称 */
    private String HospitalName;
    
    /** 标题 */
    private String title;

    /** 内容 */
    private String content;

    /** 区域ID */
    private String scope;

    /** 推送类别 */
    private String type;

    /** 是否已读   1 读 。 2 未读 */
    private String isRead;

    /** 检测时间 */
    private String detectionTime;

    /** 创建时间 */
    private Date createTime;
    
    //表名
    private String tableName ;

    public WjPush(Integer id, String title, String content, String scope, String type, String isRead, String detectionTime, Date createTime) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.scope = scope;
        this.type = type;
        this.isRead = isRead;
        this.detectionTime = detectionTime;
        this.createTime = createTime;
    }

    public WjPush() {
        super();
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope == null ? null : scope.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead == null ? null : isRead.trim();
    }

    public String getDetectionTime() {
        return detectionTime;
    }

    public void setDetectionTime(String detectionTime) {
        this.detectionTime = detectionTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public String getHospitalName() {
		return HospitalName;
	}

	public void setHospitalName(String hospitalName) {
		HospitalName = hospitalName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	@Override
	public String toString() {
		return "WjPush [id=" + id + ", HospitalName=" + HospitalName + ", title=" + title + ", content=" + content
				+ ", scope=" + scope + ", type=" + type + ", isRead=" + isRead + ", detectionTime=" + detectionTime
				+ ", createTime=" + createTime + ", tableName=" + tableName + "]";
	}

	

    
    
    
    
}